package com.example.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
  @ApiModel(value = "Solution对象", description = "")
public class Solution implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("发布方案的用户")
      private Integer userId;

      @ApiModelProperty("方案名称")
      private String name;

      @ApiModelProperty("方案描述")
      private String detail;

      @ApiModelProperty("访问人数")
      private Integer view;

      @ApiModelProperty("方案状态")
      private String statement;

      @ApiModelProperty("方案发布日期")
      @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
      private LocalDateTime createTime;

      @ApiModelProperty("引导id")
      private Integer guideId;


}
